/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.bsd5ex.group1.kaokang.dao;

import com.bsd5ex.group1.kaokang.config.TableNameConstants;
import com.bsd5ex.group1.kaokang.model.OrderLineItem;
import org.hibernate.Query;
/**
 *
 * @author IBIAINIKI
 */
public class OrderLineItemDAO extends AbstractDAO<OrderLineItem> {

    public OrderLineItem getOrderLineItemByID(int orderLineItemID) {
        return (OrderLineItem) queryOneResult("from "+getEntityName()+" as o where o.id_order_line_item=" + orderLineItemID);
    }

}
